Skip to content

Read saved material names from older reference caches - #136

Merged
mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-material-names
Dec 6, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-material-names

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

What changes and why

Decode the saved IFC material name from type 33 in older attributes.tsfodat tables. Linked scenes expose it in the object metadata. Rendered instance colors and texture materials still come from materials.tsfodat and the legacy geometry tables.

How it was checked

  • Release build, full and native-only suites on .NET 8 and .NET 10, package dependency verification and DocFX
  • Match 20,908 native material names to raw rows in 45 attribute tables
  • Match 966 names to IfcMaterial.Name in two source IFC/cache pairs
  • Verify 483 exported material names in eight legacy-only OFFICE US Imperial references and identical render data across 6,514 linked instances using 31 colors
  • Synthetic tests cover Unicode, duplicate and truncated records, both placements and unmodified appearance data

@mahach666
mahach666 marked this pull request as ready for review December 6, 2026 15:18
@mahach666
mahach666 merged commit 4b2c263 into main Dec 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant